<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<c:if test="${not empty status}">
<s:message code="${status}" text="${status}" var="msg"/>
<c:choose>
	<c:when test="${status != 'operationFailure'}">
		<div class="alert alert-success fade in">
            <button class="close" data-dismiss="alert">× </button>
            <i class="fa-fw fa fa-check"></i>
            <strong>${msg}</strong>
        </div>
	</c:when>
	<c:otherwise>
		<div class="alert alert-danger fade in">
            <button class="close" data-dismiss="alert">×</button>
            <i class="fa-fw fa fa-times"></i>
            <strong>${msg}</strong>
        </div>
	</c:otherwise>
</c:choose>
</c:if>